﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000DB3 RID: 3507
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class QuitWolfBroGameCsReq : IMessage<QuitWolfBroGameCsReq>, IMessage, IEquatable<QuitWolfBroGameCsReq>, IDeepCloneable<QuitWolfBroGameCsReq>, IBufferMessage
	{
		// Token: 0x17002C8C RID: 11404
		// (get) Token: 0x06009D6F RID: 40303 RVA: 0x001A52E0 File Offset: 0x001A34E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<QuitWolfBroGameCsReq> Parser
		{
			get
			{
				return QuitWolfBroGameCsReq._parser;
			}
		}

		// Token: 0x17002C8D RID: 11405
		// (get) Token: 0x06009D70 RID: 40304 RVA: 0x001A52E7 File Offset: 0x001A34E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return QuitWolfBroGameCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002C8E RID: 11406
		// (get) Token: 0x06009D71 RID: 40305 RVA: 0x001A52F9 File Offset: 0x001A34F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return QuitWolfBroGameCsReq.Descriptor;
			}
		}

		// Token: 0x06009D72 RID: 40306 RVA: 0x001A5300 File Offset: 0x001A3500
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitWolfBroGameCsReq()
		{
		}

		// Token: 0x06009D73 RID: 40307 RVA: 0x001A5308 File Offset: 0x001A3508
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitWolfBroGameCsReq(QuitWolfBroGameCsReq other) : this()
		{
			this.id_ = other.id_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009D74 RID: 40308 RVA: 0x001A532D File Offset: 0x001A352D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitWolfBroGameCsReq Clone()
		{
			return new QuitWolfBroGameCsReq(this);
		}

		// Token: 0x17002C8F RID: 11407
		// (get) Token: 0x06009D75 RID: 40309 RVA: 0x001A5335 File Offset: 0x001A3535
		// (set) Token: 0x06009D76 RID: 40310 RVA: 0x001A533D File Offset: 0x001A353D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x06009D77 RID: 40311 RVA: 0x001A5346 File Offset: 0x001A3546
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as QuitWolfBroGameCsReq);
		}

		// Token: 0x06009D78 RID: 40312 RVA: 0x001A5354 File Offset: 0x001A3554
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(QuitWolfBroGameCsReq other)
		{
			return other != null && (other == this || (this.Id == other.Id && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009D79 RID: 40313 RVA: 0x001A5384 File Offset: 0x001A3584
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009D7A RID: 40314 RVA: 0x001A53C3 File Offset: 0x001A35C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009D7B RID: 40315 RVA: 0x001A53CB File Offset: 0x001A35CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009D7C RID: 40316 RVA: 0x001A53D4 File Offset: 0x001A35D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Id != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Id);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009D7D RID: 40317 RVA: 0x001A5408 File Offset: 0x001A3608
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009D7E RID: 40318 RVA: 0x001A5446 File Offset: 0x001A3646
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(QuitWolfBroGameCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009D7F RID: 40319 RVA: 0x001A5477 File Offset: 0x001A3677
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009D80 RID: 40320 RVA: 0x001A5480 File Offset: 0x001A3680
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Id = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003CC2 RID: 15554
		private static readonly MessageParser<QuitWolfBroGameCsReq> _parser = new MessageParser<QuitWolfBroGameCsReq>(() => new QuitWolfBroGameCsReq());

		// Token: 0x04003CC3 RID: 15555
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003CC4 RID: 15556
		public const int IdFieldNumber = 1;

		// Token: 0x04003CC5 RID: 15557
		private uint id_;
	}
}
